package bridge;

public class MainTest13 {
    public static void main(String[] args) {
        Engine engine1 = new Engine1();
        Engine engine2 = new Engine2();
        Car bus1 = new Bus(engine1);
        Car bus2 = new Bus(engine2);
        Car jeep1 = new Jeep(engine1);
        Car jeep2 = new Jeep(engine2);
        bus1.installEngine();
        bus2.installEngine();
        jeep1.installEngine();
        jeep2.installEngine();
    }
}
